
#ifndef JSNRDR_H
#define JSNRDR_H

class JsonReader
{
public:
	JsonReader();
	JsonReader(char* filename);
	~JsonReader();

	void load(char* filename);
	void setData(char* data);
	void unload();
	char* getData(char request[], int index = 0);
	int getArraySize(char request[]);
	//bool isExists(char request[]);
private:
	char* m_data;
	bool m_loaded;
};

#endif // JSNRDR_H
